<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft HTML Help Workshop 4.0">
<title>Decompiling a help file</title>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</head>

<body>

<h1>Decompiling a help file
</h1>

<P>Decompiling a help file involves copying the files in a compiled help file to a directory that you specify while leaving the compiled help file intact. This procedure is useful for reconstructing individual HTML source files from a compiled help file. It is also useful when you want to use the source files contained in the compiled help file in a browser that does not support compiled help files.</P>

<h4>To decompile a help file</h4>

	<ol>
	<li>On the <b>File </b>menu, click <b>Decompile</b>.
	<li>In the <b>Destination folder</b> box, enter the name of the folder where you want the decompiled files to be copied.
	<li>In the <b>Compiled help file</b> box, enter the name of the compiled help (.chm) file you want to decompile.
	</li>
	</ol>

<h3>Note</h3>

	<ul>
	<li>The decompile command is part of the HTML Help executable program (Hh.exe) and is therefore also a client-side command line switch that works when HTML Help Workshop is not set up. From a DOS prompt or from the <b>Run</b> command, type <b>-decompile folder chm</b> where <b>-decompile</b> is the switch, <b>folder</b> is the name of the destination folder where you want the decompiled files to be copied, and <b>chm</b> is the name of the compiled help file you want to decompile.
	</li>
	</ul>

<table border="0" cellpadding="0" cellspacing="0">

<tr> <td valign="top"><a href="testovr.htm"><img src="home.gif" alt="Home page link" border="0"></a>
</td><td><a href="prjcmp.htm">About compiling a help project</a>
</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</body>
</html>
